/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.votedata.votepeople.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.votedata.votepeople.entity.VotePeople;
import com.jeeplus.modules.votedata.votepeople.mapper.VotePeopleMapper;

/**
 * 被投票人信息Service
 * @author 刘明星
 * @version 2021-11-18
 */
@Service
@Transactional(readOnly = true)
public class VotePeopleService extends CrudService<VotePeopleMapper, VotePeople> {

	public VotePeople get(String id) {
		return super.get(id);
	}
	
	public List<VotePeople> findList(VotePeople votePeople) {
		return super.findList(votePeople);
	}
	
	public Page<VotePeople> findPage(Page<VotePeople> page, VotePeople votePeople) {
		return super.findPage(page, votePeople);
	}
	
	@Transactional(readOnly = false)
	public void save(VotePeople votePeople) {
		super.save(votePeople);
	}
	
	@Transactional(readOnly = false)
	public void delete(VotePeople votePeople) {
		super.delete(votePeople);
	}
	
}